package com.wxw.springcloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author wxw
 * @data 2021/1/25 19 :30
 * @description
 */
@FeignClient(name="01-springcloud-service-provider",fallbackFactory=MyFallbackFactory.class)
public interface HelloService {
    @RequestMapping("/hystrix")
    public String hello();

}